package com.krisyu.strategyPattern.sp_practice1;

/**
 * @author KrisYu
 * @date 2022/5/23
 * @description
 */
public class FtpDeleteDecorate extends PushStrategyDecorate{

    public FtpDeleteDecorate(IPushStrategy iPushStrategy) {
        super(iPushStrategy);
    }

    private void handleFtpDeleteRequest(){
        System.out.println("handleFtpDeleteRequest");
    }

    @Override
    public void beforePush() {
        super.beforePush();
    }

    @Override
    public void doPush() {
        super.doPush();
    }

    @Override
    public void afterPush() {
        super.afterPush();
        handleFtpDeleteRequest();
    }
}
